﻿using System;
using Longbow.Data;
namespace HuaCheng.DataAccess
{
    /// <summary>
    /// 数据库连接类
    /// </summary>
    public static class DBAccessManager
    {
        private static Lazy<DBAccess> db = new Lazy<DBAccess>(() => DBAccess.CreateDB("conMysql"), true);

        public static DBAccess SqlDBAccess
        {
            get { return db.Value; }
        }
    }
}
